package com.example.tiptravel.view.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

import com.example.tiptravel.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class PublishActivity extends AppCompatActivity {

    @BindView(R.id.tv_publish_cancel)
    TextView tvCannel;
    @BindView(R.id.tv_publish_publish)
    TextView tvPublish;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_publish);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.tv_publish_publish, R.id.tv_publish_cancel})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.tv_publish_cancel:
                finish();
                break;
            case R.id.tv_publish_publish:
                break;
        }
    }
}
